const data = {
  toutiao: 2,
  wukong: 2,
  toutiaoJS: 2,
  youshi: 2,
  hongguoMF: 1,
  douyinJS: 1,
  douyinHS: 0.3,
  douyinSC: 0.2,
  kuaishouJS: 1,
  baiduJS: 0.15,
  baiduCT: 0.35,
};

function compute(data) {
  return Object.keys(data).reduce((pre, cur) => {
    return pre + data[cur] * 100;
  }, 0);
}
// node .\doc\money\money3.js
console.log(compute(data) / 100);
